package com.lipaluma.annotations.adaptors.standard;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.lipaluma.field.adaptor.Adaptor;

/**
 * Optional annotation that describe the order of all adaptors of a field.
 * <p>
 * 
 * All classes must extends {@link Adaptor}. Then, it's possible to add a custom Adaptor by the way.
 * @author Mario
 */
@Documented
@Inherited
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Adaptors {
	Class<? extends Adaptor>[] value();
}
